package whileControl;

public class BreakInsideNested {

	public static void main(String[] args) {
		// 嵌套循环break
		for (int i = 0; i < 3; i++) {
			for (int j = 0; j < 6; j++) {
				if (j == 4) {
					break; // j等于4时结束内层循环
				}
				System.out.println("i=" + i + "j=" + j);
			}
		}

	}

}
